package si.yun.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SyUserCollection implements Serializable {
    @ApiModelProperty(value = "收藏记录主键")
    private Integer collectionId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "收藏类型(2课程，3商品)")
    private Integer collectionType;

    @ApiModelProperty(value = "商品id")
    private Integer productId;

    @ApiModelProperty(value = "收藏时间")
    private Date collectionDate;

    @ApiModelProperty(value = "收藏价格")
    private BigDecimal collectionPrice;

    @ApiModelProperty(value = "商品现价")
    private BigDecimal productCurrentprice;

    @ApiModelProperty(value = "商品信息")
    private String productInformation;

    @ApiModelProperty(value = "备注")
    private String remarks;

    private static final long serialVersionUID = 1L;

    public Integer getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Integer collectionId) {
        this.collectionId = collectionId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCollectionType() {
        return collectionType;
    }

    public void setCollectionType(Integer collectionType) {
        this.collectionType = collectionType;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Date getCollectionDate() {
        return collectionDate;
    }

    public void setCollectionDate(Date collectionDate) {
        this.collectionDate = collectionDate;
    }

    public BigDecimal getCollectionPrice() {
        return collectionPrice;
    }

    public void setCollectionPrice(BigDecimal collectionPrice) {
        this.collectionPrice = collectionPrice;
    }

    public BigDecimal getProductCurrentprice() {
        return productCurrentprice;
    }

    public void setProductCurrentprice(BigDecimal productCurrentprice) {
        this.productCurrentprice = productCurrentprice;
    }

    public String getProductInformation() {
        return productInformation;
    }

    public void setProductInformation(String productInformation) {
        this.productInformation = productInformation;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", collectionId=").append(collectionId);
        sb.append(", userId=").append(userId);
        sb.append(", collectionType=").append(collectionType);
        sb.append(", productId=").append(productId);
        sb.append(", collectionDate=").append(collectionDate);
        sb.append(", collectionPrice=").append(collectionPrice);
        sb.append(", productCurrentprice=").append(productCurrentprice);
        sb.append(", productInformation=").append(productInformation);
        sb.append(", remarks=").append(remarks);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}